//
//  DDCartSet.h
//  Dingdong
//
//  Created by 程强 on 16/12/12.
//  Copyright © 2016年 程强. All rights reserved.
//

#import <Foundation/Foundation.h>

@class DDCartObj;
@class DDCartGoodsObj;
@class DDActivityObj;

@interface DDCartSet : NSObject
@property (strong, nonatomic) NSMutableArray <DDCartObj *>*cartAry;
@end


@interface DDCartObj : NSObject
@property (copy, nonatomic) NSString *store_name;
@property (strong, nonatomic) NSNumber *store_id;
@property (strong, nonatomic) NSMutableArray <DDCartGoodsObj *>*cartList;
@property (strong, nonatomic) NSNumber *activity_id;/**<0:无活动*/
@property (strong, nonatomic) NSArray <DDActivityObj *>*activity;
@property (strong, nonatomic) NSNumber *is_check;
@property (strong, nonatomic) NSNumber *edit_is_check;
@end

@interface DDCartGoodsObj : NSObject
@property (strong, nonatomic) NSNumber *cart_id;
@property (strong, nonatomic) NSNumber *goods_id;
@property (strong, nonatomic) NSNumber *product_id;
@property (strong, nonatomic) NSNumber *num;
@property (copy, nonatomic) NSString *name;
@property (strong, nonatomic) NSNumber *cartprice;
@property (strong, nonatomic) NSNumber *goodprice;
@property (strong, nonatomic) NSNumber *store_id;
@property (copy, nonatomic) NSString *thumbnail;
@property (strong, nonatomic) NSString *addon;/**<规格*/
@property (strong, nonatomic) NSNumber *market_enable;/**<1:上架 0:下架*/
@property (strong, nonatomic) NSNumber *is_check;
@property (strong, nonatomic) NSNumber *edit_is_check;
@end

@interface DDActivityObj : NSObject
@property (strong, nonatomic) NSNumber *activity_id;
@property (strong, nonatomic) NSNumber *start_time;
@property (strong, nonatomic) NSNumber *end_time;
@property (copy, nonatomic) NSString *activity_name;
@property (strong, nonatomic) NSNumber *range_type;
@property (strong, nonatomic) NSNumber *activity_type;
@property (strong, nonatomic) NSNumber *disabled;
@property (strong, nonatomic) NSNumber *store_id;
@property (copy, nonatomic) NSString *activity_description;
@end
